package ar.fi.uba.fallas2.business.factories;

import java.sql.ResultSet;
import java.sql.SQLException;

import ar.fi.uba.fallas2.business.*;

public class GuessObjectFactory {
	public static GuessObject create(ResultSet rs) throws SQLException {
		GuessObject g = new GuessObject(rs.getInt(1));
		g.setName(rs.getString(2));
		return g;
	}
}
